<!--
	Copyright 2009 The Go Authors. All rights reserved.
	Use of this source code is governed by a BSD-style
	license that can be found in the LICENSE file.
-->

	
		<div id="short-nav">
			<dl>
			<dd><code>import "code.google.com/p/sqs"</code></dd>
			</dl>
			<dl>
			<dd><a href="#overview" class="overviewLink">Overview</a></dd>
			<dd><a href="#index">Index</a></dd>
			
			
			</dl>
		</div>
		<!-- The package's Name is printed as title by the top-level template -->
		<div id="overview" class="toggleVisible">
			<div class="collapsed">
				<h2 class="toggleButton" title="Click to show Overview section">Overview ▹</h2>
			</div>
			<div class="expanded">
				<h2 class="toggleButton" title="Click to hide Overview section">Overview ▾</h2>
				
			</div>
		</div>
		
	
		<h2 id="index">Index</h2>
		<!-- Table of contents for API; must be named manual-nav to turn off auto nav. -->
		<div id="manual-nav">
			<dl>
			
			
			
			
				
				<dd><a href="#CreateQueueResponse">type CreateQueueResponse</a></dd>
				
				
			
				
				<dd><a href="#Error">type Error</a></dd>
				
				
					
					<dd>&nbsp; &nbsp; <a href="#Error.Error">func (e *Error) Error() string</a></dd>
				
			
				
				<dd><a href="#GetQueueAttributesResponse">type GetQueueAttributesResponse</a></dd>
				
				
			
				
				<dd><a href="#GetQueueUrlResponse">type GetQueueUrlResponse</a></dd>
				
				
			
				
				<dd><a href="#ListQueuesResponse">type ListQueuesResponse</a></dd>
				
				
			
				
				<dd><a href="#Message">type Message</a></dd>
				
				
					
					<dd>&nbsp; &nbsp; <a href="#Message.String">func (m *Message) String() string</a></dd>
				
			
				
				<dd><a href="#Queue">type Queue</a></dd>
				
				
					
					<dd>&nbsp; &nbsp; <a href="#Queue.String">func (q *Queue) String() string</a></dd>
				
			
				
				<dd><a href="#QueueAttribute">type QueueAttribute</a></dd>
				
				
					
					<dd>&nbsp; &nbsp; <a href="#QueueAttribute.String">func (q *QueueAttribute) String() string</a></dd>
				
			
				
				<dd><a href="#ReceiveMessageResponse">type ReceiveMessageResponse</a></dd>
				
				
			
				
				<dd><a href="#Response">type Response</a></dd>
				
				
					
					<dd>&nbsp; &nbsp; <a href="#Response.String">func (r *Response) String() string</a></dd>
				
			
				
				<dd><a href="#SQS">type SQS</a></dd>
				
					
					<dd>&nbsp; &nbsp; <a href="#New">func New(a aws.Auth, r aws.Region) *SQS</a></dd>
				
				
					
					<dd>&nbsp; &nbsp; <a href="#SQS.AddPermission">func (s *SQS) AddPermission(n, l string, actions map[string]string) (*Response, error)</a></dd>
				
					
					<dd>&nbsp; &nbsp; <a href="#SQS.ChangeMessageVisibility">func (s *SQS) ChangeMessageVisibility(n, h string, t int) (*Response, error)</a></dd>
				
					
					<dd>&nbsp; &nbsp; <a href="#SQS.GetQueueAttributes">func (s *SQS) GetQueueAttributes(n string, attribs []string) (*GetQueueAttributesResponse, error)</a></dd>
				
					
					<dd>&nbsp; &nbsp; <a href="#SQS.GetQueueUrl">func (s *SQS) GetQueueUrl(n string) (*GetQueueUrlResponse, error)</a></dd>
				
					
					<dd>&nbsp; &nbsp; <a href="#SQS.ListQueues">func (s *SQS) ListQueues(prefix string) (*ListQueuesResponse, error)</a></dd>
				
					
					<dd>&nbsp; &nbsp; <a href="#SQS.ReceiveMessage">func (s *SQS) ReceiveMessage(n string, attribs []string, opts map[string]string) (*ReceiveMessageResponse, error)</a></dd>
				
			
			
		</dl>

		

		
			<h4>Package files</h4>
			<p>
			<span style="font-size:90%">
			
				<a href="/target/error.go">error.go</a>
			
				<a href="/target/message.go">message.go</a>
			
				<a href="/target/queue.go">queue.go</a>
			
				<a href="/target/response.go">response.go</a>
			
				<a href="/target/sqs.go">sqs.go</a>
			
			</span>
			</p>
		
	
		
		
		
		
			
			
			<h2 id="CreateQueueResponse">type <a href="/target/response.go?s=110:204#L2">CreateQueueResponse</a></h2>
			<pre>type CreateQueueResponse struct {
    Response
    Queue *Queue `xml:&#34;CreateQueueResult&gt;QueueUrl&#34;`
}</pre>
			

			

			

			

			

			
		
			
			
			<h2 id="Error">type <a href="/target/error.go?s=128:222#L6">Error</a></h2>
			<pre>type Error struct {
    StatusCode int
    Type       string
    Code       string
    Message    string
}</pre>
			

			

			

			

			

			
				
				<h3 id="Error.Error">func (*Error) <a href="/target/error.go?s=496:526#L29">Error</a></h3>
				<pre>func (e *Error) Error() string</pre>
				
				
				
			
		
			
			
			<h2 id="GetQueueAttributesResponse">type <a href="/target/response.go?s=302:420#L12">GetQueueAttributesResponse</a></h2>
			<pre>type GetQueueAttributesResponse struct {
    Response
    QueueAttributes []QueueAttribute `xml:&#34;GetQueueAttributeResult&#34;`
}</pre>
			

			

			

			

			

			
		
			
			
			<h2 id="GetQueueUrlResponse">type <a href="/target/response.go?s=206:300#L7">GetQueueUrlResponse</a></h2>
			<pre>type GetQueueUrlResponse struct {
    Response
    Queue *Queue `xml:&#34;GetQueueUrlResult&gt;QueueUrl&#34;`
}</pre>
			

			

			

			

			

			
		
			
			
			<h2 id="ListQueuesResponse">type <a href="/target/response.go?s=422:517#L17">ListQueuesResponse</a></h2>
			<pre>type ListQueuesResponse struct {
    Response
    Queues []*Queue `xml:&#34;ListQueuesResult&gt;QueueUrl&#34;`
}</pre>
			

			

			

			

			

			
		
			
			
			<h2 id="Message">type <a href="/target/message.go?s=31:343#L1">Message</a></h2>
			<pre>type Message struct {
    Id            string           `xml:&#34;Message&gt;MessageId&#34;`
    ReceiptHandle string           `xml:&#34;Message&gt;ReceiptHandle&#34;`
    MD5           string           `xml:&#34;Message&gt;MD5OfBody&#34;`
    Body          string           `xml:&#34;Message&gt;Body&#34;`
    Attributes    []QueueAttribute `xml:&#34;Message&gt;Attribute&#34;`
}</pre>
			

			

			

			

			

			
				
				<h3 id="Message.String">func (*Message) <a href="/target/message.go?s=345:378#L6">String</a></h3>
				<pre>func (m *Message) String() string</pre>
				
				
				
			
		
			
			
			<h2 id="Queue">type <a href="/target/queue.go?s=31:82#L1">Queue</a></h2>
			<pre>type Queue struct {
    URL string `xml:&#34;,innerxml&#34;`
}</pre>
			

			

			

			

			

			
				
				<h3 id="Queue.String">func (*Queue) <a href="/target/queue.go?s=191:222#L7">String</a></h3>
				<pre>func (q *Queue) String() string</pre>
				
				
				
			
		
			
			
			<h2 id="QueueAttribute">type <a href="/target/queue.go?s=84:189#L2">QueueAttribute</a></h2>
			<pre>type QueueAttribute struct {
    Name  string `xml:&#34;Attribute&gt;name&#34;`
    Value string `xml:&#34;Attribute&gt;value&#34;`
}</pre>
			

			

			

			

			

			
				
				<h3 id="QueueAttribute.String">func (*QueueAttribute) <a href="/target/queue.go?s=242:282#L11">String</a></h3>
				<pre>func (q *QueueAttribute) String() string</pre>
				
				
				
			
		
			
			
			<h2 id="ReceiveMessageResponse">type <a href="/target/response.go?s=519:622#L22">ReceiveMessageResponse</a></h2>
			<pre>type ReceiveMessageResponse struct {
    Response
    Message *Message `xml:&#34;ReceiveMessageResult&gt;Message&#34;`
}</pre>
			

			

			

			

			

			
		
			
			
			<h2 id="Response">type <a href="/target/response.go?s=31:108#L1">Response</a></h2>
			<pre>type Response struct {
    RequestId string `xml:&#34;ResponseMetadata&gt;RequestId&#34;`
}</pre>
			

			

			

			

			

			
				
				<h3 id="Response.String">func (*Response) <a href="/target/response.go?s=624:658#L27">String</a></h3>
				<pre>func (r *Response) String() string</pre>
				
				
				
			
		
			
			
			<h2 id="SQS">type <a href="/target/sqs.go?s=183:224#L10">SQS</a></h2>
			<pre>type SQS struct {
    aws.Auth
    aws.Region
}</pre>
			

			

			

			

			
				
				<h3 id="New">func <a href="/target/sqs.go?s=226:265#L15">New</a></h3>
				<pre>func New(a aws.Auth, r aws.Region) *SQS</pre>
				
				
			

			
				
				<h3 id="SQS.AddPermission">func (*SQS) <a href="/target/sqs.go?s=1550:1636#L63">AddPermission</a></h3>
				<pre>func (s *SQS) AddPermission(n, l string, actions map[string]string) (*Response, error)</pre>
				
				
				
			
				
				<h3 id="SQS.ChangeMessageVisibility">func (*SQS) <a href="/target/sqs.go?s=2472:2548#L90">ChangeMessageVisibility</a></h3>
				<pre>func (s *SQS) ChangeMessageVisibility(n, h string, t int) (*Response, error)</pre>
				
				
				
			
				
				<h3 id="SQS.GetQueueAttributes">func (*SQS) <a href="/target/sqs.go?s=2935:3032#L108">GetQueueAttributes</a></h3>
				<pre>func (s *SQS) GetQueueAttributes(n string, attribs []string) (*GetQueueAttributesResponse, error)</pre>
				
				
				
			
				
				<h3 id="SQS.GetQueueUrl">func (*SQS) <a href="/target/sqs.go?s=3511:3576#L133">GetQueueUrl</a></h3>
				<pre>func (s *SQS) GetQueueUrl(n string) (*GetQueueUrlResponse, error)</pre>
				
				
				
			
				
				<h3 id="SQS.ListQueues">func (*SQS) <a href="/target/sqs.go?s=3798:3866#L146">ListQueues</a></h3>
				<pre>func (s *SQS) ListQueues(prefix string) (*ListQueuesResponse, error)</pre>
				
				
				
			
				
				<h3 id="SQS.ReceiveMessage">func (*SQS) <a href="/target/sqs.go?s=4103:4216#L159">ReceiveMessage</a></h3>
				<pre>func (s *SQS) ReceiveMessage(n string, attribs []string, opts map[string]string) (*ReceiveMessageResponse, error)</pre>
				
				
				
			
		
		</div>
	

	







